/*
    author: SS
*/

var express = require('express')
var router = express.Router()

/// lesson
let lesson = require('./utils/blesson')
router.get('/Lesson', lesson.lesson)
router.post('/Lesson/Delete', lesson.deleteLesson)
router.post('/Lesson/Add', lesson.add)
router.post('/Lesson/Detail', lesson.detail)
router.post('/Lesson/Punched', lesson.punched)
//// book
let book = require('./utils/bbook')
router.get('/Book', book.book)
router.post('/Book/Delete', book.deleteBook)
router.post('/Book/Add', book.add)
router.post('/Book/Detail', book.detail)
router.post('/Book/Punched', book.punched)
/// yo
let yo = require('./utils/byo')
router.get('/Yo', yo.yo)
router.post('/Yo/Delete', yo.deleteYo)
router.post('/Yo/Add', yo.add)
router.post('/Yo/Detail', yo.detail)
router.post('/Yo/Punched', yo.punched)

module.exports = router